package com.hl.toolkit.server.tycoin.account.slaveservice;

import com.tycoin.account.slaveentity.TycoinEtcLog;
import com.tycoin.account.slaverepository.TycoinEtcLogRepository;
import com.tycoin.common.repository.AbstractRepository;
import com.tycoin.common.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(value = "slaveTransactionManager", readOnly = true)		
public class TycoinEtcLogService    extends AbstractService<TycoinEtcLog, Long> {

	@Autowired
	private TycoinEtcLogRepository tycoinEtcLogRepository;
	
	@Override
	public AbstractRepository<TycoinEtcLog, Long> getRepository() {
 		return tycoinEtcLogRepository;
	}

}
